<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>拖拽删除</title>
    <link rel="stylesheet" href="index.css">
</head>
<body>
    <div class="box">
        <!-- 顶部拖拽的文件 -->
        <ul>
            <li draggable="true">厨余垃圾</li>
            <li draggable="true">有害垃圾</li>
            <li draggable="true">其他垃圾</li>
            <li draggable="true">湿垃圾</li>
        </ul>
        <p id="text"></p>

        <!-- 下方的垃圾桶 -->
        <div id="out">
            <p>垃圾桶</p>
            <img src="./img/rubbish.png" alt="">
        </div>
    </div>
    <script src="index.js"></script>
</body>
</html>